package com.baiye.www.serializer;

/**
 * @author GUOZHIPENG
 * @version 1.0
 * @date 2021/12/2 9:01
 */
public interface Serializer {

    <T> T deserialize(Class<T> clazz, byte[] bytes);


    <T> byte[] serialize(T object);
}
